home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
zapem-0.000
/
zapem-0
/
zapem
/
starfield.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-03
|
459b
|
28 lines
#ifndef STARFIELD_H
#define STARFIELD_H
#include "screen.h"
#include "point.h"
const int NUMSTAR=10;
const int NUMFIELD=6;
const int MAXSPEED=4;
class
StarField : public Screen
{
private:
pixel back[NUMSTAR][NUMFIELD];
point pos[NUMSTAR][NUMFIELD];
int speed[NUMSTAR][NUMFIELD];
int color[NUMFIELD];
public:
StarField();
void update(void);
void move(void);
void replace(void);
void paste(void);
void getBack(void);
};
#endif